package com.laiketui.order.service.pay;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.laiketui.domain.user.User;
import com.laiketui.domain.vo.MainVo;
import com.laiketui.order.api.dto.pay.BalanceRecordDTO;
import com.laiketui.order.api.dto.pay.UserBalanceDTO;
import com.laiketui.order.api.params.ConfirmOrderParams;
import com.laiketui.order.api.params.pay.BalancePayParams;
import com.laiketui.order.api.params.pay.BalanceRecordParams;

import java.util.List;

public interface BalancePayService {

    String pay(BalancePayParams balancePayParams,String userId,Integer storeId);

    UserBalanceDTO getUserInfo(User user);

    IPage<BalanceRecordDTO> getBalanceRecords(User user, BalanceRecordParams balanceRecordParams);
}
